<SCRIPT language="Javascript">
function ServiceJeu(url) {
       
   this._url = url;
   this._xhr_object = null;
   
   this.init = function() {
           if(window.XMLHttpRequest) // Firefox
                   this._xhr_object = new XMLHttpRequest();
           else if(window.ActiveXObject) // Internet Explorer
                   this._xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
           return 1;
   };
   
   this.env = function(type,message){
           this._xhr_object.open(type, this._url, true);
           this._xhr_object.send(message);
           if(this._xhr_object.readyState == 4)
                   return 1;
           
           return -1;
   };
}
<!-- var jeu = new ServiceJeu("http://172.31.1.79:8080/users/");
   -->
var jeu = new ServiceJeu("http://172.31.1.79:8080/users/");
       jeu.init();
       jeu.env("POST","bonjour ozijfozji fzmoefjze mojfzejf zoijfmozej fzoijf zjfzefj zmofjzom ifjzf epgjem gjeoigj oejgoej gomejog jeogj oejgoejgo jreogje MMMM");
       

</SCRIPT>

<html>
<head>
<body>TETSETSETSETSETSETSET</body>
</html>